﻿using System;
namespace Clipper.Model
{
	/// <summary>
	/// Reagent:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
    [Serializable]
    public partial class Reagent : AbstractModel
    {
        public Reagent()
        { }
        #region Model
        private int _reagentid;
        private string _brand;
        private string _detectitem;
        private DetectItems _detectItemModel;
        private string _batchnumber;
        private DateTime? _peirodvalidity;
        private string _barcode;
        private int _reagentorder;
        private int _reagentleft = 0;
        private int _stateId = 0;
        private ReagentState _stateModel;
        private double ptISIValue;

        /// <summary>
        /// 
        /// </summary>
        public int reagentID
        {
            set { _reagentid = value;
            NotifyPropertyChanged("reagentID");
            }
            get { return _reagentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string brand
        {
            set { _brand = value;
            NotifyPropertyChanged("brand");
            }
            get { return _brand; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DetectItem
        {
            set { _detectitem = value;
            NotifyPropertyChanged("DetectItem");
            }
            get { return _detectitem; }
        }

        public DetectItems DetectItemModel
        {
            get
            {
                return _detectItemModel;
            }
            set
            {
                _detectItemModel = value;
                NotifyPropertyChanged("DetectItemModel");
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string batchNumber
        {
            set { _batchnumber = value;
            NotifyPropertyChanged("batchNumber");
            }
            get { return _batchnumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? peirodValidity
        {
            set { _peirodvalidity = value;
            NotifyPropertyChanged("peirodValidity");
            }
            get { return _peirodvalidity; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string barcode
        {
            set { _barcode = value;
            NotifyPropertyChanged("barcode");
            }
            get { return _barcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int reagentOrder
        {
            set { _reagentorder = value;
            NotifyPropertyChanged("reagentOrder");
            }
            get { return _reagentorder; }
        }
        /// <summary>
        ///试剂剩余量 
        /// </summary>
        public int ReagentLeft
        {
            set { _reagentleft = value;
            NotifyPropertyChanged("ReagentLeft");
            }
            get { return _reagentleft; }
        }
        /// <summary>
        ///试剂状态(1、未加载；2、已加载)
        /// </summary>
        public int StateId
        {
            set { _stateId = value;
            NotifyPropertyChanged("StateId");
            }
            get { return _stateId; }
        }
        /// <summary>
        /// 状态类
        /// </summary>
        public ReagentState StateModel
        {
            set
            {
                _stateModel = value;
                NotifyPropertyChanged("StateModel");
            }
            get
            {
                return _stateModel;
            }
        }

        public double PtISIValue
        {
            get
            {
                return ptISIValue;
            }

            set
            {
                ptISIValue = value;
            }
        }

        #endregion Model
    }
}

